<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<#include "/views/ftl/base/manager_include.ftl">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>商品列表</title>
<style>
A{
color: #333;
}

</style>
<script type="text/javascript">
$(function(){
	$("#search_button").click(function(){
		$('#select_form').submit();
    });
});

</script>
</head>
<body style="background:#eef3f7;">
<#include "/views/ftl/base/head.ftl">
<div class="Main">
  <div class="dw">
<#include "/views/ftl/base/menu.ftl">
<#function a><#return "商品_List"></#function> 
<!--右边内容-->
<div class="Rightbox fl">
    <!--导航-->
    <div class="Bread_crbs clear">
      <div class="Bread_crbs_img fl"></div>
      <div class="Bread_crbs_text fl">
      	<a href="javascript:void(0);"><span>商品管理</span></a>
      	<span class="fnt_famy">></span>
      	<a href="javascript:void(0);"><span>货品列表</span></a>
      </div>
    </div>
    	
      <!--搜索框-->
        <form action="${basePath}manager/Goods_goodsListPage" id="select_form"  method="GET"> 
         <div class="searchBox fl">
        	<span class=" searchTitle">品牌名:</span> 
          	<input class="search_text" type="text" name="brandName" placeholder="请输入关键字 " value="${(requestVo.brandName)!''}"/>
          	
            </div> 
            <a href="javascript:void(0);" id="search_button" class="search_btn fl" align="center"><span >搜索</span></a> 
			<a href="${basePath}manager/Goods_createGoodsPage" class="search_btn fl" style="width:89px;background: #00ad55 none repeat scroll 0 0;" target="_blank"><span>添加货品</span></a>
        </form>

        
       <!-- brandId,goodsNumber,goodsName,goodsCategoryId,totalStockCount,applySex,tagPrice,retailPrice,season,unit,-->
        <div class="clear"></div>
        <!--表格列表-->
        <div class="Table">
          <table id="table" cellpadding="0" cellspacing="1">
            <tbody>
              <tr id="gl"> 
              <td>条码</td>
             <td>货品号</td>
             <td>货品名</td>
             <td>颜色</td>
             <td>尺码</td>
             <td>库存</td>  
             <td>零售价</td>  
             <td>操作</td>
             </tr>
            <#if (pager.list??)> 
           <#if ((pager.list?size)>0)>
           <#list pager.list as product>
     		<tr>  
     		  <td>${(product.barCode)!''}</td>
              <td>${(product.goodsNumber)!''}</td> 
               <td>${(product.goodsName)!''}</td> 
               <td>${(product.colorSpecificationValue)!''}</td>
             <td>${(product.sizeSpecificationValue)!''}</td>
             <td>${(product.stockCount)?c}</td>   
                <td>${(product.retailPrice)?c}</td>  
           <td class="tbl_btn">
                <a href="${basePath}manager/Goods_goodsInfo?goodsId=${(product.goodsId)?c}"><span class="review_single_model" style="    background: #00ad55;">查看</span></a>
                 
                </td>
              </tr>
  			</#list>
          </#if>
          </#if>
            </tbody>
          </table>
        </div>
    <!--翻页按钮-->
  	<#import "../../base/pager.ftl" as p>
   	<@p.pager pager = pager baseUrl = "manager/Product_productListPage" parameterMap={"brandName":(brandName)!''} />
</div> 
</body>
</html>

